package com.haoshuang.zhouzhoubang.ui.adapter

import com.chad.library.adapter4.BaseQuickAdapter
import com.haoshuang.zhouzhoubang.R
import com.haoshuang.zhouzhoubang.databinding.ItemTsBondBinding
import com.haoshuang.zhouzhoubang.model.bean.BzjData
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter


/**
 * 订单模块中的订单列表适配器
 * */
class BondTdAdapter(data: MutableList<BzjData.PayCategory>) :
    BaseBindingQuickAdapter<BzjData.PayCategory, ItemTsBondBinding>(data){

    override fun onBindViewHolder(
        holder: BaseBindingHolder,
        position: Int,
        item: BzjData.PayCategory?
    ) {
        val binding = ItemTsBondBinding.bind(holder.itemView)
        binding.apply {
            tvTime.setText(item?.cate_name)

        }
    }

}